import asyncLoader from '../utils/async-loader';

export default [{
    path: '/',
    name: 'index',
    components: {
      default: asyncLoader('index/index')
    },
    meta: {
      keepAlive: true,
      login: false
    }
  },
  {
    path: '*',
    redirect: {
      name: 'index'
    }
  },
  {
    path: 'nav/cu-header',
    name: 'navHeader',
    components: {
      default: asyncLoader('nav/cu-header')
    },
    meta: {
      keepAlive: true,
      login: false
    }
  },
  {
    path: 'nav/imgs-show',
    name: 'imgsShow',
    components: {
      default: asyncLoader('nav/imgs-show')
    },
    meta: {
      keepAlive: true,
      login: false
    }
  },
  {
    path: 'nav/cu-tarbar',
    name: 'cuTarbar',
    components: {
      default: asyncLoader('nav/cu-tarbar')
    },
    meta: {
      keepAlive: true,
      login: false
    }
  },
];